package bindgen

// Build is placed in the body of an bind function template to declare the
// source to use. The bindgen code generation tool will fill in an
// implementation of the function. Build returns an error message that can
// be sent to a call to panic().
//
// Examples:
//
//	func bind[T any](target T, source1, source2 any) T {
//		panic(bindgen.Build("ignore1", "ignore2"))
//	}
//
//	func bind(target any, source1, source2 any) {
//		panic(bindgen.Build())
//	}
//
//	func (p *obj) bind(source1, source2 any) {
//		panic(bindgen.Build())
//	}
//
//	func new(source1, source2 any) any {
//		panic(bindgen.Build())
//	}
//
// nolint: revive
func Build(ignoreFields ...string) string {
	return "implementation not generated, run bindgen"
}
